﻿@model WmWebSystem.Models.ChangePasswordModel

@{
    ViewBag.Title = "变更密码";
    Layout = "~/Views/Shared/_Layout_manage.cshtml";
}


<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>


<div class="contentcontainer">
    <div class="headings">
        <h2>用户密码更改</h2>
    </div>
    <div class="contentbox">
        @using (Html.BeginForm())
        {
            @Html.ValidationSummary(true, "密码修改失败. 请核对提示信息后重试.")
            <table>
                <tr>
                    <th width="200px">旧密码</th>
                    <td>
                       @Html.PasswordFor(m => m.OldPassword, new { @class = "box" })
                       @Html.ValidationMessageFor(m => m.OldPassword)
                    </td>
                </tr>
                <tr>
                    <th>新密码</th>
                    <td>
                       @Html.PasswordFor(m => m.NewPassword, new { @class = "box" })
                       @Html.ValidationMessageFor(m => m.NewPassword)
                    </td>
                </tr>
                <tr>
                    <th>确认密码</th>
                    <td>
                       @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "box" })
                       @Html.ValidationMessageFor(m => m.ConfirmPassword)
                    </td>
                </tr>
                <tr>
                   <th></th>
                   <td>
                    <input type="button" title="取消" value="<< 返回" id="GoBackList" onclick="history.go(-1)" />
                    <input type="submit" id="CreateSubmit" class="btn" title="确认更改" value="确认更改 >> "  />
                   </td>
                </tr>
            </table>
        }
         <div class="extrabottom">
           <p> 【注】新密码的字符长度不得小于 @Membership.MinRequiredPasswordLength 个字符数.</p>
        </div>
        <div style="clear: both;"></div>
    </div>
</div>

